﻿using Lightworks.System.Dto;
using Lightworks.System.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lightworks.System.Services
{
    public interface IRoleService
    {
        bool Save(Role role);
        bool Delete(long id);
        List<Role> GetAll();
        PageData<Role> GetRoleList(SearchReq req);
        bool SetResourceForRole(long roleId, long[] resourceIds);
        long[] GetResIdByRoleId(long roleId);
    }
}
